package com.maoslv.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu implements Serializable {
    private Integer id;
    private String name;
    private String perms;
    private String path;
    private Integer parentId;
    private String icon;
    private Integer roleId;
    private Integer type;

    private List<Menu> child = new ArrayList<>();
}
